home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / batch / library / dvscr10 / dvscr.doc < prev   
Text File  |  1992-03-24  |  3KB  |  67 lines

  1. DVSCR.BTM   Version 1.0
  2. By Yaniv Golan    
  3. All Rights Reserved  
  4. ----------------------------------------------------------------------
  5.  
  6. DVSCR.BTM is a batch file written in 4dos's batch language, which
  7. provides an easier and faster interface to DESQView's CONVSCR utility.
  8. Most of the time, when handling DV's script files, all you want to do
  9. is to convert a file called ??-scrip.dvs to ??-scrip.txt and back
  10. (where ?? stand for the two keys used to invoke the program from the
  11. Open Program menu). However, CONVSCR still requires you to type the
  12. full pathnames of both the source and the destination files. 
  13. DVSCR.BTM accepts two parameters on the command line - the two "Open
  14. Program" keys, and the requsted conversion (script to text or text to
  15. script). Then it uses 4dos "keystack" command to pass the appropriate
  16. keystrocks to CONVSCR. 
  17. Example of use: Say you want to convert the script you use for Turbo
  18. Pascal to text. Assuming that the keys you use to invoke the program
  19. are "TP", the format of DVSCR.BTM would be :
  20. DVSCR /s tp
  21. The result of this would be a text file named tp-scrip.txt.
  22.  
  23. This is the full description of the command line paramters, which can
  24. be displayed by type : DVSCR /?
  25.  
  26. Usage :    DVSCR options filename
  27. options :  /s  convert script file (.dvs) to text file (.txt)
  28.            /t  convert text file (.txt) to script file (.scr)
  29. filename : if the file name is 2 characters long it is first
  30.            assumed to be of the form xx-scrip.[dvs\txt]. if
  31.            such file cannot be found, or if the length of the
  32.            name is more then two characters, the filename is
  33.            treated as a fully qualified name, with an extension
  34.            according to the options setting.
  35.  
  36. Maybe a little more about the treatment of file names:
  37. 2 letters long filenames are first assumed to be of the form
  38. ??-scrip.dvs or ??-scrip.txt (depending weather /t or /s was used). So
  39. DVSCR tries to locate that file. If it can't find it it assumes that
  40. your file is really called ??.dvs or ??.txt, and looks for that file.
  41. If it can't find that either, then it means the file doesn't exist.
  42. Filenames longer then 2 letters are always assumed to be of the form
  43. ??????.dvs or ???????.txt.
  44.  
  45. The CONVSCR utility must be on your path, or in the current directory.
  46. DVSCR can handle filenames preceded by paths correctly (c:\dv\tp is
  47. still considered a two letters long filename).
  48.  
  49. Naturally DVSCR is usefull only if you are using 4dos and DESQView.
  50. 4Dos and DESQView are both registered trademarks of the companies that
  51. make them.
  52.  
  53. This is i guess a freeware. However, I retain all rights to it, and of
  54. course - disclaim any responsibilty to any consequences of the use of
  55. this program.
  56.  
  57. Comments and bug reports are welcomed. 
  58.  
  59. my E-Mail address : s2942275@techst02.technion.ac.il
  60.  
  61. Snail Mail : Yaniv Golan
  62.          Hageula 4,
  63.              Hod-Hasharon 45272,
  64.          ISRAEL.
  65.  
  66.  
  67.